/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.purchase.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.z100h.supplychain.purchase.entity.PurchaseOrder;
import com.z100h.supplychain.purchase.entity.PurchaseOrderItemErpInfo;

/**
 * 供应链采购单MAPPER接口
 * @author madara
 * @version 2018-09-20
 */
@MyBatisMapper
public interface PurchaseOrderMapper extends BaseMapper<PurchaseOrder> {

	public List<PurchaseOrderItemErpInfo> findErpInfoBySkuId(@Param("skuId") String skuId,
			@Param("companyId") String companyId);

	public void updateRemarks(@Param("remarks") String remark, @Param("id") String id);

	public List<String> findNullPurchaseOrderDetail(String purchaseOrderId);

	public Integer checkWarehouseReceiptRepetition(String id);
}